home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
win
/
mewldemo.zip
/
MEWLDEMO.ZTC
< prev
Wrap
Text File
|
1991-10-10
|
1KB
|
54 lines
############################################################################
# #
# MAKEFILE for the TIMEDEMO #
# #
############################################################################
# Compiler is 'M' for Microsoft, 'T' for Borland Turbo C
COMPILER = Z
# Model is
# 1) Microsoft C - 'M' for Medium, 'L' for Large
# 2) Turbo C - 'm' for medium, 'l' for large
MODEL = l
# ZORTECH C macros
CC = ztc
OPT = -o
DEBUG = -s -g
CFLAGS = -Ju -Jm -w -b -c -J -m$(MODEL) -DMSC -DDOS -DZORTECH $(OPT)
ASM = masm
##LMODEL should be 1 if you want large data
ASMDEBUG = /Zi
ASMFLAGS = /DLMODEL=0 /DTC=0 /mx
LIB = zorlib
#LINK = c:\msc5\link
LINK = blink
LFLAGS = /st:8192 /seg:256 /pack /far
# We tack the compiler and model onto the end of the library name, so
# the library for Borland's Turbo C, medium model would be called WINLIBTM.LIB
# Inference rules for C and ASM files
.c.obj :
$(CC) $(CFLAGS) $*.c
.asm.obj :
$(ASM) $(ASMFLAGS) $*;
.rc.res :
\mewel\rc $*
DEMO = mewldemo
OBJS = $(DEMO).obj
$(DEMO).obj : $(DEMO).c
$(DEMO).res : $(DEMO).rc
$(DEMO).exe : $(OBJS) $(DEMO).res
# Microsoft
$(LINK) $(LFLAGS) $(OBJS),$(DEMO),nul,winlib$(COMPILER)$(MODEL).lib;
\mewel\rc mewldemo.res